﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="articles.ascx.cs" Inherits="my_ascx_articles" %>
<table cellpadding="0" cellspacing="0" style="width: 100%">
    <tr>
        <td>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    GridLines="None" AllowPaging="True">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:Image ID="Image1" runat="server" 
                    ImageUrl='<%# Eval("img","/city_imgs/1/{0}") %>' Width="30px" />
                <asp:HyperLink ID="HyperLink1" runat="server" 
                    NavigateUrl='<%# Eval("no","/city_s.aspx?no={0}") %>' 
                    Text='<%# Eval("title") %>' ForeColor="Black"></asp:HyperLink>
                <br />
                <br />
                <asp:Label ID="Label1" runat="server" Font-Size="12px" ForeColor="#666666" 
                    Text='<%# Eval("intro") %>'></asp:Label>
                <br />
                <br />
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
            <br />
<asp:HyperLink ID="HyperLink3" runat="server">more</asp:HyperLink>
        </td>
    </tr>
</table>
<br />

